import request from "../utils/request";

// 获取宠物门店列表
export function getPetClinics(param) {
  return request({
    url: "/web/petClinic/g",
    method: "post",
    data: param,
  });
}

// 新增宠物门店
export function addPetClinic(param) {
  return request({
    url: "/web/petClinic/a",
    method: "post",
    data: param,
  });
}

// 编辑宠物门店
export function updatePetClinic(param) {
  return request({
    url: "/web/petClinic/u",
    method: "post",
    data: param,
  });
}

// 删除宠物门店
export function deletePetClinic(param) {
  return request({
    url: "/web/petClinic/d",
    method: "post",
    data: param,
  });
}